package com.prothink.service.impl;


import com.prothink.dao.ProductSearchVolumeDao;
import com.prothink.entity.ProductSearchVolume;
import com.prothink.service.ProductSearchVolumeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductSearchVolumeServiceMpl implements ProductSearchVolumeService {
    @Autowired
    private ProductSearchVolumeDao productSearchVolumeDao;


    @Override
    public List getProductSearchVolume(ProductSearchVolume productSearchVolume) {
        return productSearchVolumeDao.getProductSearchVolume(productSearchVolume);
    }

    @Override
    public Integer addProductSearchVolume(ProductSearchVolume productSearchVolume) {
        return productSearchVolumeDao.addProductSearchVolume(productSearchVolume);
    }


}
